﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class Order
    {
        public int OrderID { get; set; }
        public Customer Customer { get; set; }
        public DateTime Date { get; set; }
        public string Address { get; set; }
        public double Total { get; set; }
        public double ShipCost { get; set; }
        public bool Transfered { get; set; }
        public int CheckOutType { get; set; }


        public Order(int orderID = 0, Customer customer = null, DateTime date = new DateTime(), string address = "", double total = 0, double shipCost = 0,  bool transfered = true, int checkoutType = 0)
        {
            OrderID = orderID;
            Customer = customer;
            Date = date;
            Address = address;
            Total = total;
            ShipCost = shipCost;
            Transfered = transfered;
            CheckOutType = checkoutType;
        }

    }
}
